import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class Cell extends StatelessWidget {
  final String label;
  final String value;
  final Function onTap;
  Cell({this.label = '', this.value = '', this.onTap});

  @override
  Widget build(BuildContext context) {
    return InkWell(
        onTap: onTap,
        child: Row(children: [
          Text(label),
          Container(
            child: Row(
              children: [Text(value), Icon(Icons.chevron_right)],
            ),
          )
        ]));
  }
}
